#ifndef SPI_LIBRARY_H
#define SPI_LIBRARY_H
#include "spi_library.h"

ZEND_BEGIN_ARG_INFO(arginfo_wiringPiSPISetup, 0)
    ZEND_ARG_INFO(0, channel)
    ZEND_ARG_INFO(0, speed)
ZEND_END_ARG_INFO()


ZEND_BEGIN_ARG_INFO(arginfo_wiringPiSPIDataRW, 0)
    ZEND_ARG_INFO(0, channel)
    ZEND_ARG_INFO(0, data)
ZEND_END_ARG_INFO()


//spi-library
PHP_FUNCTION(wiringPiSPISetup);
PHP_FUNCTION(wiringPiSPIDataRW);

#endif